rework gathering of serialization information. (#479)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Tue, 28 Jan 2020 02:08:51 +0000 (19:08 -0700)
committerGitHub <noreply@github.com>
Tue, 28 Jan 2020 02:08:51 +0000 (19:08 -0700)
commit33c0321394bc787edc82a5ef21fdbefa2ae857bc
tree8bdcecad70bb4ed23e63c315fde83aac34c51213
parenta459fc2870da05a2b9d22a2befdc2435598d93bc
rework gathering of serialization information. (#479)

The existing method broke encapsulation to generate the combined
list of regular and style based formats.  It required access to
xcsv_vecs, which is only present in LegacyFormats.  Until recently
it also required access to xcsv_file.

The existing method also leaked memory, although the use case was
such that the program always exited shortly thereafter.

All these issues are resolved during unification by gathering all the
necessary information and passing that on to serialization.  This
information is gathered from different places for regular and style
based formats.
testo.d/serialization.test
vecs.cc
vecs.h